CREATE TABLE [dbo].[X58CPCOA]
(
[X58NROREG] [dbo].[TD_IN_001] NULL,
[X58IDENT] [dbo].[TD_VC_020] NULL,
[X58PERIODO] [dbo].[TD_VC_008] NULL,
[X58FECHA] [dbo].[TD_VC_008] NULL,
[X58TIPO] [dbo].[TD_VC_002] NULL,
[X58SERIE] [dbo].[TD_VC_004] NULL,
[X58NUMERO] [dbo].[TD_VC_020] NULL,
[X58BASE] [dbo].[TD_NU_016_004] NOT NULL CONSTRAINT [DF__X58CPCOA__X58BAS__6A1BB7B0] DEFAULT ((0)),
[X58IGV] [dbo].[TD_NU_016_004] NOT NULL CONSTRAINT [DF__X58CPCOA__X58IGV__6C040022] DEFAULT ((0)),
[X58CODIGO] [dbo].[TD_VC_003] NULL,
[X58FLAGMON] [dbo].[TD_VC_001] NULL,
[X58NORDEN] [dbo].[TD_VC_008] NULL,
[X58ESTADO] [dbo].[TD_VC_001] NULL
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[X58CPCOA] ADD CONSTRAINT [CK__X58CPCOA__X58BAS__6B0FDBE9] CHECK (([X58BASE]>=(0)))
GO
ALTER TABLE [dbo].[X58CPCOA] ADD CONSTRAINT [CK__X58CPCOA__X58IGV__6CF8245B] CHECK (([X58IGV]>=(0)))
GO
